package br.com.carser.business.bean;

import javax.ejb.Stateless;
import javax.inject.Inject;

import br.com.carser.business.PermissionBusiness;
import br.com.carser.business.infra.BaseBusinessBean;
import br.com.carser.dao.PermissionDAO;
import br.com.carser.dao.infra.BaseDAO;
import br.com.carser.model.Permission;

/**
 * To treat business methods.
 * 
 * @author Eduardo T. Serete
 */
@Stateless
public class PermissionBusinessBean extends BaseBusinessBean<Permission> implements PermissionBusiness {
	
	private static final long serialVersionUID = 4751696556548433043L;

	@Inject
	private PermissionDAO dao;
	
	@Override
	public BaseDAO<Permission> getDAO() {
		return dao;
	}
	
}
